last fling
A final enjoyment of freedom. For example,
He's planning to have one last fling before joining the army
. This expression employs
fling
in the sense of “a brief period of indulging one's impulses,” a usage dating from the first half of the 1800s.